{$CLEO .CS}

//-------------MAIN---------------
0000: NOP 

:NONAME_2
wait 0 
if and 
   Player.Defined($PLAYER_CHAR)
//0154:   actor $PLAYER_ACTOR in_zone 'LA'  // LS
//0583:   player $PLAYER_CHAR in_zone 'LA'
 $ONMISSION == 0
jf @NONAME_2 
jump @noname_3

:noname_3
wait 0
if or
//00DF:   actor $PLAYER_ACTOR driving
//09AE:   actor $PLAYER_ACTOR driving_train
//04C8:   actor $PLAYER_ACTOR driving_flying_vehicle
//80DF:   not actor $PLAYER_ACTOR driving
00ED:   actor $PLAYER_ACTOR 0 near_point 7866.5962 -8213.8682 radius 3000.0 3000.0 on_foot
00EE:   actor $PLAYER_ACTOR 0 near_point 7866.5962 -8213.8682 radius 3000.0 3000.0 in_car
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 7866.5962 -8213.8682 21.4908 radius 3000.0 3000.0 3000.0
0100:   actor $PLAYER_ACTOR in_sphere 7866.5962 -8213.8682 21.4908 radius 3000.0 3000.0 3000.0 sphere 1 in_car
00EC:   actor $PLAYER_ACTOR 0 near_point 7866.5962 -8213.8682 radius 3000.0 3000.0
//jump @zones
jf @noname_3
//:zones
//wait 0
//if or
//0154:   actor $PLAYER_ACTOR in_zone 'LA'  // LS
//0583:   player $PLAYER_CHAR in_zone 'LA'  
//0154:   actor $PLAYER_ACTOR in_zone 'PALO'  // LS
//0583:   player $PLAYER_CHAR in_zone 'PALO'
//0154:   actor $PLAYER_ACTOR in_zone 'VE'  // LS
//0583:   player $PLAYER_CHAR in_zone 'VE' 
//jf @zones
jump @load

:load
wait 0
Model.Load(#FREIGHT)
Model.Load(#FREIFLAT)
Model.Load(#FREIBOX)
Model.Load(#STREAK)
Model.Load(#STREAKC)
Model.Load(#TRAM)
//Model.Load(5698)
//Model.Load(5693)
//Model.Load(6016)
//Model.Load(663)
038B: load_requested_models 
wait 0 
jump @NONAME_79 

:NONAME_79
wait 0 
//06D8: 1@ = create_train_at 1709.22 -2827.91 276.19 type 0 direction 0 
//1665.7228 -2832.0869 85.5328 2 pyt
06D8: 1@ = create_train_at 7704.119 -7579.312 4.876 type 9 direction 1   //corthauz2
0186: 2@ = create_marker_above_car 1@
0165: set_marker 2@ color_to 1
06DC: set_train 1@ acc 10.0 
06DD: set_train 1@ speed 16.0
//09CF: set_train 1@ stop_at_stations 1 
//036A: put_actor $PLAYER_ACTOR in_car 1@
//036A: put_actor $PLAYER_ACTOR in_car 1@
//wait 3000 
//06DC: set_train 1@ acc 20.0 
//06DD: set_train 1@ speed 30.0 
Model.Destroy(#FREIGHT)
Model.Destroy(#FREIFLAT)
Model.Destroy(#FREIBOX)
Model.Destroy(#STREAK)
Model.Destroy(#STREAKC)
Model.Destroy(#TRAM)
//Model.Destroy(5698)
//Model.Destroy(5693)
//Model.Destroy(6016)
jump @platf1



:prov_1
wait 0 
//if or
//0154:   actor $PLAYER_ACTOR in_zone 'LA'  // LS
//0583:   player $PLAYER_CHAR in_zone 'LA' 
//jf @destr
if or    //stalo ploxo
$ONMISSION == 1
0112:   wasted_or_busted
0118:   actor $PLAYER_ACTOR dead
0981:   train 1@ wrecked
02BF:   car 1@ sunk
01F4:   car 1@ flipped
jf @provnavc
jump @destr

:provnavc
wait 0
if or
00ED:   actor $PLAYER_ACTOR 0 near_point 7866.5962 -8213.8682 radius 3000.0 3000.0 on_foot
00EE:   actor $PLAYER_ACTOR 0 near_point 7866.5962 -8213.8682 radius 3000.0 3000.0 in_car
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 7866.5962 -8213.8682 21.4908 radius 3000.0 3000.0 3000.0
0100:   actor $PLAYER_ACTOR in_sphere 7866.5962 -8213.8682 21.4908 radius 3000.0 3000.0 3000.0 sphere 1 in_car
00EC:   actor $PLAYER_ACTOR 0 near_point 7866.5962 -8213.8682 radius 3000.0 3000.0
jf @destr
jump @platf1

:platf1
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7205.3823 -6922.6089 3.6269 radius 14.0 14.0 14.0 // stadion
jf @platf2  
jump @NONAME_926 

:platf2
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7508.2222 -7074.3647 5.8588 radius 14.0 14.0 14.0 // taxistskaya
jf @platf3 
jump @NONAME_926 

:platf3
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7576.3691 -7370.4385 6.2246 radius 14.0 14.0 14.0 // corthayz
jf @platf4 
jump @NONAME_926 

:platf4
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7554.8735 -7883.3818 6.0463 radius 14.0 14.0 14.0 // nii
jf @platf5 
jump @NONAME_926 

:platf5
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7232.4497 -8015.877 6.23 radius 14.0 14.0 14.0 // ost1
jf @platf6 
jump @NONAME_926 

:platf6
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7181.1284 -8289.8496 6.2297 radius 14.0 14.0 14.0 //ost2
jf @platf7 
jump @NONAME_926 

:platf7
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7062.5918 -8473.6338 6.4013 radius 14.0 14.0 14.0 //ost3
jf @platf8 
jump @NONAME_926


:platf8
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7207.4897 -8585.3262 5.7432 radius 14.0 14.0 14.0 // ost4
//1845.1808 -1422.4746 29.8384      GLENPARK GOLOV
jf @platf9
jump @NONAME_926

/////////////

:platf9
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7384.4624 -8634.793 5.8877 radius 14.0 14.0 14.0 // na most1
jf @platf10 
jump @NONAME_926

:platf10
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7404.3682 -8648.9229 5.8708 radius 14.0 14.0 14.0 //  na most2
jf @platf11
jump @NONAME_926

:platf11
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7425.1753 -8988.8115 5.8887 radius 14.0 14.0 14.0 // helfcare1
jf @platf12
jump @NONAME_926

:platf12
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7445.5591 -8991.1426 5.8731 radius 14.0 14.0 14.0 //helfcare2
jf @platf13
jump @NONAME_926


/////
:platf13
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7448.0786 -9389.1396 5.8891 radius 14.0 14.0 14.0 //ship1
jf @platf14 
jump @NONAME_926 

:platf14
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7463.0864 -9370.834 5.8656 radius 14.0 14.0 14.0 // ship2
jf @platf15
jump @NONAME_926 

:platf15
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7478.6987 -9740.9199 6.2157 radius 14.0 14.0 14.0 //  seaport
jf @platf16
jump @NONAME_926 

:platf16
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7817.1938 -7346.0234 5.8713 radius 14.0 14.0 14.0 //  ost5
jf @platf17 
jump @NONAME_926 

:platf17
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7865.3437 -7231.8975 4.3852 radius 14.0 14.0 14.0 // ost6
jf @platf18 
jump @NONAME_926 

///////////////
:platf18
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7951.7915 -6961.416 6.5601 radius 14.0 14.0 14.0 //  ost7
jf @platf19
jump @NONAME_926 

:platf19
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7761.5469 -6909.9634 6.5601 radius 14.0 14.0 14.0 // ost8
jf @platf20 
jump @NONAME_926 

:platf20
wait 0 
if 
01AF: car 1@ sphere 0 in_sphere 7620.9956 -6923.0762 6.556 radius 14.0 14.0 14.0 //  ost9
jf @platf37
jump @NONAME_926
///////

:platf37
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 7496.6387 -6935.3926 6.5605 radius 14.0 14.0 14.0    // ost10
jf @prov_1
jump @NONAME_926



///jf @prov_1 
///jump @NONAME_926


 //:prov2
//wait 0
//if or
//$ONMISSION == 1
//0112:   wasted_or_busted
//0118:   actor $PLAYER_ACTOR dead
//0981:   train 1@ wrecked
//02BF:   car 1@ sunk
//01F4:   car 1@ flipped

:NONAME_926 
wait 0
if
056E:   car 1@ defined 
jf @NONAME_79
06DC: set_train 1@ acc 0.0 
06DD: set_train 1@ speed 0.0 
wait 8000
06DC: set_train 1@ acc 5.0 
06DD: set_train 1@ speed 10.0 
wait 3000 
06DC: set_train 1@ acc 10.0 
06DD: set_train 1@ speed 16.0  
jump @prov_1

:destr
wait 0
0164: disable_marker 2@
07BD: destroy_train 1@
07BE: remove_references_to_train 1@
jump @NONAME_2